/* ============================================================
   语言排版覆盖：en-US（系统自动生成，可直接修改）
   只作用于 html[lang="en-US"]，中文站与其他语言不受影响。
   删除本文件后，下次访问语言页会重新生成默认内容。
   ============================================================ */
/* asset-version:v9 */

/* 1. 正文字体与字号：西文优先，正文 24px（中文为 28px） */
html[lang="en-US"] body{font-family:"D-DIN-PRO-400",Arial,Helvetica,sans-serif !important;font-size:.24rem !important;line-height:1.55;overflow-wrap:break-word;}

/* 2. 标题字号：40px → 34px */
html[lang="en-US"] .title h2,html[lang="en-US"] .title h3,html[lang="en-US"] .sub-banner .banner-text h3{font-size:.34rem;line-height:1.25;}

/* 3. 顶部导航：固定 80px 行高不能被英文撑成两行 */
html[lang="en-US"] .header .navMenu > li > a{font-size:.18rem;white-space:nowrap;}
@media screen and (min-width:768px){
  /* 二级栏目：中文模板按需给下拉面板加大左内边距，西文会顶出屏幕，这里固定边距并允许换行居中 */
  html[lang="en-US"] .header .navMenu li .subMenu{padding-left:.3rem !important;padding-right:.3rem !important;flex-wrap:wrap;justify-content:center;row-gap:.02rem;column-gap:.24rem;max-height:70vh;overflow-y:auto;}
  html[lang="en-US"] .header .navMenu .subMenu li{flex:0 0 auto;}
  html[lang="en-US"] .header .navMenu .subMenu a{white-space:nowrap;font-size:.13rem;line-height:1.7;}
}
@media screen and (min-width:769px) and (max-width:1200px){
  html[lang="en-US"] .header .navMenu > li > a{font-size:.12rem;}
}

/* 4. 分类条：取消 0.85rem 固定行高，允许两行居中 */
html[lang="en-US"] .subNav .subNav-list{height:auto;}
html[lang="en-US"] .subNav .subNav-list a{height:auto;line-height:3.35;padding:.12rem .06rem;font-size:.18rem;display:flex;align-items:center;justify-content:center;text-align:center;}

/* 5. 卡片标题：保持一行，超长由 fit-text.js 自动缩小字号 */
html[lang="en-US"] .title.text-nowrap-ellipsis,html[lang="en-US"] .sub-title.text-nowrap-ellipsis{white-space:nowrap;line-height:1.25;}

/* 6. 西文不使用中文式两端对齐与首行缩进 */
html[lang="en-US"] [style*="justify"]{text-align:left !important;}
html[lang="en-US"] .content,html[lang="en-US"] .description,html[lang="en-US"] .summary,html[lang="en-US"] .content p,html[lang="en-US"] .description p{text-align:left !important;text-indent:0 !important;}

/* 7. 首页各板块：英文长句导致卡片串行/溢出 */
/* 7.1 解决方案九宫格：等分列，避免英文把列撑宽 */
html[lang="en-US"] .swiperFullPage .slution .slution-list{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
html[lang="en-US"] .swiperFullPage .slution .slution-list .item{min-width:0;overflow:hidden;}
html[lang="en-US"] .swiperFullPage .slution .slution-list .item .title,html[lang="en-US"] .swiperFullPage .slution .slution-list .item .sub-title{white-space:normal;line-height:1.3;}
/* 7.2 产品卡片：内容列不能撑出卡片 */
html[lang="en-US"] .swiperFullPage .product .product-list .item{overflow:hidden;}
html[lang="en-US"] .swiperFullPage .product .product-list .item .info{width:100%;max-width:100%;box-sizing:border-box;padding-left:.08rem;padding-right:.08rem;overflow:hidden;}
html[lang="en-US"] .swiperFullPage .product .product-list .item .info .title{max-width:100%;overflow:hidden;text-overflow:ellipsis;}
html[lang="en-US"] .swiperFullPage .product .product-list .item .info .sub-title{max-width:100%;overflow:hidden;flex-wrap:nowrap;font-size:.12rem;}
html[lang="en-US"] .swiperFullPage .product .product-list .item .info .btnGroup{max-width:100%;}
html[lang="en-US"] .swiperFullPage .product .product-list .item .info .btnGroup a{font-size:.12rem;padding:.05rem .14rem;white-space:nowrap;}
/* 7.3 新闻卡片：文本列可收缩，避免压到相邻卡片 */
html[lang="en-US"] .swiperFullPage .news .news-list .item{overflow:hidden;}
html[lang="en-US"] .swiperFullPage .news .news-list .item .info{overflow:hidden;}
html[lang="en-US"] .swiperFullPage .news .news-list .item .info .text{min-width:0;flex:1 1 auto;overflow:hidden;}
html[lang="en-US"] .swiperFullPage .news .news-list .item .info .text .title{display:block;overflow:hidden;text-overflow:ellipsis;font-size:.18rem !important; /* 从 .10rem 改成 .18rem，加大字号 */
}
/* 7.4 Join Us 按钮：英文换行时自动增高，不撑出边框 */
html[lang="en-US"] .swiperFullPage .joinus .btn-group .btn{width:auto;min-width:2.45rem;height:auto;min-height:.7rem;padding:.12rem .28rem;line-height:1.3;font-size:.18rem;text-align:center;}

/* 8. 关于优德与方案卡片 */
/* 8.1 数字统计：数字与说明文字基线对齐 */
html[lang="en-US"] .num-box{align-items:flex-start;}
html[lang="en-US"] .num-box .item .num{height:.98rem;display:flex;align-items:flex-end;}
html[lang="en-US"] .num-box .item .text{font-size:.12rem;line-height:1.35;min-height:2.7em;}
/* 8.2 卡片标题不能超出卡片 */
html[lang="en-US"] .item .title.text-nowrap-ellipsis{max-width:100%;box-sizing:border-box;}
/* 8.3 相关方案卡片：标题允许两行，避免长英文互相压字 */
html[lang="en-US"] .slution-other-type-wrap .type-list .item .title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.18rem;line-height:1.3;min-height:2.6em;}
/* 8.4 产品卡片标签：保留黄色小字，居中排列，最多两行，避免遮挡图片/相邻卡片 */
html[lang="en-US"] .product-list .item .info .label{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.05rem;max-width:100%;max-height:3.2em;overflow:hidden;margin-left:auto;margin-right:auto;}
html[lang="en-US"] .product-list .item .info .label span{background:#fff6eb;color:#f08519;font-size:.11rem;line-height:1.45;padding:.02rem .08rem;border-radius:.05rem;white-space:normal;overflow-wrap:anywhere;max-width:100%;}
/* 8.5 分类条：swiper 的 slide 宽度由脚本写死，超出部分会溢出白条，这里裁剪并省略 */
html[lang="en-US"] .subNav .subNav-list{overflow:hidden;}
html[lang="en-US"] .subNav .subNav-list a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.18rem;padding-left:.02rem;padding-right:.02rem;}

